package com.xiaoka.ins.corp.api.aics.proxy;

import org.springframework.ws.client.core.support.WebServiceGatewaySupport;

import com.xiaoka.ins.corp.api.aics.wsclient.vehicletype.QueryVehicleTypesRequest;
import com.xiaoka.ins.corp.api.aics.wsclient.vehicletype.QueryVehicleTypesService;
import com.xiaoka.ins.corp.api.aics.wsclient.vehicletype.QueryVehicleTypesServiceResponse;

/**
 * Author: donggua
 * 永诚  WebService 代理
 * **/
public class VehicleTypeProxy extends WebServiceGatewaySupport{
	
	public QueryVehicleTypesServiceResponse queryVehicleType(QueryVehicleTypesRequest reqDTO) {
		QueryVehicleTypesService request = new QueryVehicleTypesService();
		request.setRequest(reqDTO);
		return (QueryVehicleTypesServiceResponse) getWebServiceTemplate().marshalSendAndReceive(request);
	}
}
